package com.iknow.view.widget;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.view.WindowManager.LayoutParams;
import android.widget.Button;

public class UpdateTipDialog extends Dialog
{
  private Button mBtnOK;

  public UpdateTipDialog(Context paramContext)
  {
    super(paramContext);
    setContentView(2130903132);
    Window localWindow = getWindow();
    WindowManager.LayoutParams localLayoutParams = localWindow.getAttributes();
    localLayoutParams.gravity = 17;
    localWindow.setAttributes(localLayoutParams);
    setTitle("更新说明");
    this.mBtnOK = ((Button)findViewById(2131296558));
    this.mBtnOK.setOnClickListener(new View.OnClickListener(this)
    {
      public void onClick()
      {
        this.this$0.dismiss();
      }
    });
  }
}